import Vue from 'vue'
import VueRouter from 'vue-router'

Vue.use(VueRouter)

export default new VueRouter({
	routes: [{
		path: '/login',
		name: 'Login',
		component(resolve) {
			return require(['@comps/Login.vue'], resolve)
		},
	}, {
		path: '/main',
		name: 'Main',
		component(resolve) {
			return require(['@comps/Main.vue'], resolve)
		},
	}],
})